﻿/* Structure
***************************************************************/
#layout-wrapper { }

#layout-header, #layout-navigation, #layout-featured, #layout-before-main, #layout-main, #layout-footer, #layout-after-main, #layout-tripel {
    max-width:960px;
    margin:0 auto;
}

/* Navigation */
#layout-navigation {
    margin: -3.3em auto 0;
    display: block;
    border-bottom: none;
}

.lt-ie8 #layout-navigation { margin-top: -1em; } /* Fix IE7 responsive navigation positioning issue */

nav ul {
    position: relative;
    z-index: 9998;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

        nav ul li {
        display:block;
        margin:0 2px -1px 0;
        border:1px solid #dbdbdb;
        background:none;
    } /* Responsive Changes*/

    nav > ul li.current {
        border-bottom: 1px solid #DBDBDB;
        background:#fff;
    }
    
    nav > ul li.dropdown:hover {
        background: #eee;
    }
    
    nav > ul li.dropdown li.dropdown:hover {
        background: #ddd;
    }
    
    nav li.last { margin-right: 2px; }
    
    nav ul li a {   
        display:block;
        padding:.5em 18px;
        color: #333;
        font-size: 1.077em;
        text-decoration:none;
        line-height:24px;
    }

/* first level */
nav > ul > li { float:none; }
nav > ul > li > a { float:none; }
nav > ul > li:hover > ul { display:block; }
nav > ul > li:hover { }
    
/* second level */
nav > ul > li > ul { margin: 0 0px 0px -1px; padding:0px; display:none; position:relative; border: 1px solid #dbdbdb; border-width: 0 0 0 1px; width: 100%; } /* Responsive Changes */
nav > ul > li > ul > li { list-style-type:none; margin:0px; border: none;}
nav > ul > li > ul > li > a { display:block; text-decoration:none; padding-left: 1.5em; }
nav > ul > li > ul > li > a:before { content: "→ "; }
nav > ul > li > ul > li:hover > a { }

nav > ul > li > ul > li:hover > ul { display:block; }

/* third level */
nav > ul > li > ul > li > ul { margin: 0 ; padding:0px; display:none; position:relative; border: 1px solid #dbdbdb; border-width: 0; width: 100%; } /* Responsive Changes */
nav > ul > li > ul > li > ul > li { list-style-type:none; margin:0px; border: none;}
nav > ul > li > ul > li > ul > li > a { display:block; text-decoration:none; padding-left: 2.5em; }
nav > ul > li > ul > li > ul > li > a:before { content: "→ "; }
nav > ul > li > ul > li > ul > li:hover > a { }

/* deeper levels */
nav > ul > li > ul > li > ul ul { display:none; }

/* responsive navigation */
#nav-collapsed { /* wrapper for collapsed navigation in mobile/small tablets */
    position: relative;
    z-index: 9999;
    display: block;
    float: right;
    margin: -.3em 2px -2px 0;
    padding: .5em;
    border: 1px solid #dbdbdb; /* Change color as desired */
    background-color: #f1f1f1; /* Change color as desired */
    color: #888; /* "Menu" text for medium breakpoints */
    font-weight: bold;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    outline: none;
}
#nav-collapsed.is-active { /* Clicked state for navigation button */
    padding-bottom: 1.5em;
    background-color: #fff; /* Change color as desired */
    border-bottom: 1px solid #fff;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}

/* These bars are added markup for styling purposed only (three span tags)
 * You should consider changing to a background img (svg preferably with !Modernizr.svg fallback) */
#nav-collapsed span.responsive-nav-bars {
    display: block;
    float: left;
    clear: both;
    margin: 1px auto;
    width: 20px;
    height: 3px;
    background-color: #888; /* change color as desired for the three "nav bars" when in default state */
}
#nav-collapsed.is-active span.responsive-nav-bars { background-color: #666; } /* Change color of three "nav bars" when active */
#nav-collapsed span.responsive-menu-text { display: none; } /* "Menu" text for medium breakpoints */

/* Duplicate main navigation in footer. 
 * Only needed if set in ResponsiveChanges.js */
.footer-menu { display: block!important; margin: 0!important; } 


/* Breadcrumb */
nav ul.breadcrumb 
{
    border:none;
    display: inline-block;
    margin: -9px;
    z-index: 9997;
}

    nav ul.breadcrumb li
    {
        border:none;
        background:none;
        display:block;
        float: left;
        margin:0 2px -1px 0;
    }

    nav ul.breadcrumb li:after
    {
        content: "/"
    }
    
    nav ul.breadcrumb li.last:after
    {
        content: ""
    }

        nav ul.breadcrumb li a 
        {
            padding:0 9px;
            display:block;
            float: left;
            color: #5F97AF;
            font-size: 100%;
        }
        
        nav ul.breadcrumb li a:hover
        {
            text-decoration: underline;
        }
        
#layout-header {}
    #branding 
    {
        float: left; 
        width: 77%;
        font-family: 'Lobster', Tahoma, Arial, Helvetica, sans-serif;
        font-size: 1.5em;
        padding: 0;
        margin: 0;
        transition:all .2s linear; 
        -o-transition:all .2s linear; 
        -moz-transition:all .2s linear; 
        -webkit-transition:all .2s linear;
    }
    #branding a 
    {
        text-decoration:none;
        color: #434343;
    }
#layout-navigation {}
#layout-featured {}
#layout-before-main {}
#layout-main {}
    #aside-first {}
    #layout-content {}
        #messages {}
        #before-content {}
        #content {}
        #after-content {}
    #aside-second {}
#layout-after-main {}
#layout-tripel {}
    #tripel-first {}
    #tripel-second {}
    #tripel-third {}
#layout-footer {}
    #footer-quad {}
        #footer-quad-first {}
        #footer-quad-second {}
        #footer-quad-third {}        
        #footer-quad-forth {}
    #footer-sig {}
    
/* Zones */
.zone 
{
    padding: 1em; /* Zones variate on size so percentages are not ideal. */
    
    /* Enable this to see zone visualizations 
    background-color: yellow;
    box-shadow:inset 0 0 1px purple;
    -moz-box-shadow:inset 0 0 1px purple;
    -webkit-box-shadow:inset 0 0 1px purple; */
    
} 
.zone-header { padding: 2.307em 1em 2.307em; position: relative; }
.zone-navigation { padding: 0; }
.zone-navigation { padding: 1em; } /* Responsive Changes */
.zone-featured {}
.zone-before-main {}
.zone-aside-first {}
.zone-messages {}
.zone-before-content {}
.zone-content {}
.zone-after-content {}
.zone-aside-second {}
.zone-after-main {}
.zone-tripel-first {}
.zone-tripel-second {}
.zone-tripel-third {}
.zone-footer-quad-first {}
.zone-footer-quad-second {}
.zone-footer-quad-third {}
.zone-footer-quad-fourth {}
.zone-footer { color: #999999; }

/* Secondary Zones moved to 768px media query as this is when the multi-column layout begins..*/